package com.forestar.mapControl.utils.mapConvert.geometry.coordinatesystem;

public enum ZoneType
  {
    ZoneTypeUnKnow(1), ZoneType3(3), ZoneType6(6);
    private int value;

    private ZoneType(int value)
      {
        this.value = value;
      }

    public int getValue()
      {
        return value;
      }

    public static ZoneType getZoneTypeByValue(int value)
      {
        switch (value)
          {
            case 3:
              return ZoneType3;
            case 6:
              return ZoneType6;
            default:return ZoneType3;
          }
      }

    @Override
    public String toString()
      {
        switch (this){
          case ZoneType3:
            return "3";
          case ZoneType6:
            return "6";
        }
        return "";
      }
  }
